﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeafTransmission.Entity.ConfigEntity
{
    internal class UserInfoConfigEntity
    {
        public string Avatar { get; set; }
        public string Username { get; set; }
        public string Email { get; set; }
        public List<Workgroup> workgroups { get; set; } = new List<Workgroup>();
        public UserInfoConfigEntity() { }
        public UserInfoConfigEntity(string avatar, string username, string email, List<Workgroup> workgroups)
        {
            Avatar = avatar;
            Username = username;
            Email = email;
            this.workgroups = workgroups;
        }


    }
    internal class Workgroup
    {
        public string Name { get; set; }
        public bool Selected { get; set; }
        public Workgroup() { }
        public Workgroup(string name, bool selected)
        {
            Name = name;
            Selected = selected;
        }
    }

}
